project(erureka)
find_package(KDE4 REQUIRED)
find_package(Nepomuk QUIET)
add_subdirectory(src)
add_subdirectory(doc)

# Features
macro_log_feature(NEPOMUK_FOUND "Nepomuk" "Nepomuk" "http://www.kde.org" FALSE "" "Needed for tags support.")
configure_file(src/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h )
macro_display_feature_log()

# Installation
install(FILES src/eurekaui.rc 
        DESTINATION ${DATA_INSTALL_DIR}/eureka)
install(FILES eureka.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES eurekaplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})

